<!--
 * @Description:: 请补充填写
 * @Version: 请配置版本号
 * @Author: xiaobai
 * @Date: 2021-06-11 09:48:44
 * @LastEditors: smallWhite
 * @LastEditTime: 2024-03-15 10:26:23
 * @FilePath: /huizhou-official-website/src/views/about_us/components/department.vue
-->
<template>
  <div
    style="background: rgb(255, 255, 255);"
    v-loading="loading">
    <div
      class="companyProfile_box">
      <div
        style="overflow: hidden;">
        <div class="contant">
          <div
            v-html="companyProfile.concat">
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import axios from 'axios'
export default {
  data() {
    return {
      loading: false,
      companyProfile: {},
      imgUrl: ''
    }
  },
  mounted() {
    this.getList()
  },
  methods: {
    getList() {
      this.loading = true
      axios.post('/company/profile/selectOne', { projectId: this.$store.state.navList[1].id }).then(res => {
        this.companyProfile = res.data.data.companyProfile.filter(item => {
          if (item.type === 3) {
            return item.type === 3
          }
        })[0]
        this.loading = false
        console.log(this.companyProfile)
      })
    }
  }
}
</script>

<style>
font[size='1'] {
  font-size: 14px !important;
}
font[size='2'] {
  font-size: 15px !important;
}
font[size='3'] {
  font-size: 16px !important;
}
font[size='4'] {
  font-size: 18px !important;
}
font[size='5'] {
  font-size: 24px !important;
}
font[size='6'] {
  font-size: 32px !important;
}
.contant div p {
  margin-bottom: 20px;
}
</style>